package cn.ronghuanet.user.dto;

import lombok.Data;
import javax.validation.constraints.NotBlank;

@Data
public class UserRegisterDTO {

    @NotBlank(message = "手机号不能为空")
    private String phone;

    @NotBlank(message = "手机验证码不能为空")
    private String smsCode;

    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "邮箱不能为空")
    private String email;
    private Integer age;

    @NotBlank(message = "密码不能为空")
    private String password;

    @NotBlank(message = "确认密码不能为空")
    private String confirmPassword;

}
